package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    List<NursingLevelVo> ListAll();

    void addLevel(NursingLevel nursingLevel);

    Page<NursingLevelVo> pageBuConditional(String name, Integer status);

    NursingLevel queryById(Long id);

    int updateById(NursingLevel level);

    int deleteById(Long id);

    int updateStauts(Long id, Integer status);
}
